Version

Add Method (PageBreakCollection<T>)

Adds a page break to the Worksheet.
Syntax
public void Add( 
   T pageBreak
)

Parameters

pageBreak
The page break to add to the Worksheet.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when pageBreak is null.
System.ArgumentExceptionOccurs when pageBreak overlaps with another page break already in the collection.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also